package com.yzf.demo.demo.DesignPattren.SingletonPattern.lazysingleton;

/**
 * Created by 于占峰 on 2020/2/27/027.
 */
public class LazySingletonTest {
    public static void main(String[] args) {
        Thread t1 = new Thread(new TestBean());
        Thread t2 = new Thread(new TestBean());
        t1.start();
        t2.start();
    }
}
